diff options
| author | Michael Williamson <mike@zwobble.org> | 2025-03-08 13:39:40 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2025-03-08 13:39:40 +0000 |
| commit | 8cfdfc92fcf41f5db6d30015b20457ca64f0c3ce (patch) | |
| tree | 7dfd0d403b6b8add040eb1e09515194ca6b26065 /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioMethodLoadTests]/[method:canGenerateCodeForMethodLoadInDifferentNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | |
| parent | 2462a913d149fe896134519d95d65c3adfa30e47 (diff) | |
Support method calls from other namespaces (without Wasm support)
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioMethodLoadTests]/[method:canGenerateCodeForMethodLoadInDifferentNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
1 files changed, 22 insertions, 0 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioMethodLoadTests]/[method:canGenerateCodeForMethodLoadInDifferentNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioMethodLoadTests]/[method:canGenerateCodeForMethodLoadInDifferentNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..05f2af25 --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioMethodLoadTests]/[method:canGenerateCodeForMethodLoadInDifferentNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,22 @@ +Compilation unit elements: + +(data-mutable-decl "shed__method__Example_Project__User__name" int) + +Locals: + * (val "tmp__name__0" int) + +Instructions: + +( + ( + memory-load + (local "tmp__name__0") + pointer=(data-ptr-const "shed__method__Example_Project__User__name") + layout=int + offset=() + ) +) + +Temporary stack: + * PatioLocalRef[name=tmp__name__0] + * PatioLocalRef[name=a] |
